﻿using System;
using System.IO;
using System.Reflection;

namespace Sw_MyAddin.Program
{
    class Program
    {
        //static string APP_path = System.IO.Directory.GetCurrentDirectory();
        static string DLL_path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
        public static void Sw_更新文档属性()
        {
           
            System.Diagnostics.Process.Start(DLL_path + "\\Program\\Sw_更新文档属性.exe");
        }
        public static void Sw_获得部件明细()
        {
            System.Diagnostics.Process.Start(DLL_path+"\\Program\\Sw_获得装配体部件明细.exe");
        }
        public static void Sw_批量钣金展开()
        {
            System.Diagnostics.Process.Start(DLL_path + "\\Program\\Sw_批量钣金展开.exe");
        }
        public static void Sw_批量程序操作()
        {
            System.Diagnostics.Process.Start(DLL_path + "\\Program\\Sw_批量程序操作.exe");
        }
        public static void Sw_属性编辑工具()
        {
            System.Diagnostics.Process.Start(DLL_path + "\\Program\\Sw_属性编辑工具.exe");
        }
        public static void Sw_图纸自动标注()
        {
            System.Diagnostics.Process.Start(DLL_path + "\\Program\\Sw_图纸自动标注.exe");
        }
    }
}
